Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add learning rate function to allow decaying learning rate #99

Closed
wants to merge 1 commit into from

Conversation

skaae
Copy link
Contributor

@skaae skaae commented Jun 17, 2014

Allows the user to specify the learning rate as a function of the epoch number.

Adds test that show how to use exponentially decaying learning rate

I'll add the same functionality for mementum if you accept the pull request.

btw is there a reason the ReLU pull request are not integrated?

nn.momentum = 0.5; % Momentum
nn.scaling_learningRate = 1; % Scaling factor for the learning rate (each epoch)
%nn.scaling_learningRate = 1; % Scaling factor for the learning rate (each epoch)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please properly remove all references to nn.scaning_learningRate.
Your new stuff depreceates it.

@rasmusbergpalm
Copy link
Owner

Awesome!
Only one small comment then I'll merge.
I'll look at the ReLU PR now

@rasmusbergpalm
Copy link
Owner

If you're referring to the #85 and #86 then it's because there are unresolved issues with those PRs, see the comments. If you'd resolve the comments then I'd be happy to merge them.

@skaae skaae closed this Apr 23, 2024
@gzbin365
Copy link

gzbin365 commented Apr 23, 2024 via email

@wangruinan
Copy link

wangruinan commented Apr 23, 2024 via email

@JustDoSomethong
Copy link

JustDoSomethong commented Apr 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants